package com.sjb.sixteen_journey_backend.mapper;

import com.sjb.sixteen_journey_backend.entity.ShareThing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 我的爆料表 Mapper 接口
 * </p>
 *
 * @author jcz
 * @since 2024-07-14
 */
public interface ShareThingMapper extends BaseMapper<ShareThing> {

    List<ShareThing> getAllShareThing(@Param("userId") Integer userId);
    ShareThing getAllShareThingById(@Param("id") Integer id,@Param("userId") Integer userId);
    List<ShareThing> getAllShareThingByUserId(@Param("userId") Integer userId);
}
